<?php if($news):?>
<div class="shown_item">
<h1 class="nika_page_title"><?php echo $news['title']?></h1>
<div class="description">
<div class="nika_page_body">
<div class="shown_photo"><img
	src="<?php echo '/uploads/news/thumbnail_100_100/' .$news['image']; ?> " />
</div>
<em class="date"><?php echo format_date(strtotime($news['created_at']),'D','ru');?></em><br />
<?php echo $news['body']?></div>
</div>

</div>
<?php
//if ($news['is_allowed_comments'])
include_component('comment', 'showlist', array('entity_id'=>$news['id'], 'entity_type'=>'news'));
?>

<?php else:?>
<h1 class="nika_page_title">Добро пожаловать!</h1>
&nbsp;

<?php endif;?>